- 
		Home
	
- 
MailPoet – Newsletters, Email Marketing, and Automation
- 
4.51.2
- 
Code
- 
Classes
-  Newsletter 
		
			
				
					
													
								
																			
											| Total Complexity | 59 | 
																			
											| Dependencies | 8 | 
																			
											| Dependents | 2 | 
																	
							 
													
								
																			
											| Total lines | 420 | 
																			
											| Lines of code | 287 | 
																			
											| Logical lines of code | 122 | 
																	
							 
													
								
																			
											| Comment lines | 80 | 
																			
											| Methods | 26 | 
																			
											| Properties | 1 | 
																	
							 
											 
				 
									
							 
		 
	 
	Methods 26
	
		
		
			| Method | Rating | Maintainability | Complexity | Lines of code | 
		
		
					
				| setStatus() | A | 48 | 9 | 34 | 
					
				| createOrUpdate() | A | 49 | 7 | 34 | 
					
				| save() | S | 55 | 6 | 20 | 
					
				| filterWithOptions() | S | 49 | 3 | 35 | 
					
				| withDeletedSegments() | S | 57 | 3 | 17 | 
					
				| getMeta() | S | 71 | 4 | 5 | 
					
				| getBodyString() | S | 65 | 3 | 10 | 
					
				| filterStatus() | S | 60 | 2 | 15 | 
					
				| asArray() | S | 66 | 2 | 8 | 
					
				| withSegments() | S | 67 | 2 | 8 | 
					
				| withSendingQueue() | S | 64 | 2 | 10 | 
					
				| findOneWithOptions() | S | 66 | 2 | 8 | 
					
				| __construct() | S | 68 | 1 | 7 | 
					
				| queue() | S | 74 | 1 | 4 | 
					
				| children() | S | 68 | 1 | 8 | 
					
				| parent() | S | 68 | 1 | 8 | 
					
				| segments() | S | 66 | 1 | 9 | 
					
				| segmentRelations() | S | 68 | 1 | 8 | 
					
				| trash() | S | 70 | 1 | 6 | 
					
				| restore() | S | 70 | 1 | 6 | 
					
				| delete() | S | 72 | 1 | 5 | 
					
				| getQueue() | S | 80 | 1 | 3 | 
					
				| getByHash() | S | 73 | 1 | 5 | 
					
				| __get() | S | 75 | 1 | 4 | 
					
				| __callStatic() | S | 75 | 1 | 4 | 
					
				| deprecationError() | S | 71 | 1 | 6 |